#include <iostream>
using std::cout;
using std::endl;

extern int num;//外部引入声明
extern void print();


namespace wd2
{
extern int num;

extern void print();

/* int num = 400; */

/* void print(){ */
/*     cout << "externB wd print" << endl; */
/* } */


}

void test0(){
    using wd2::num;
    using wd2::print;
    cout << num << endl;
    print();
}

void test1(){
    cout << wd2::num << endl;
    wd2::print();
}

int main(void){
    test1();
    return 0;
}


